
<%= form_for @composite, url: {action: "update"} do |f| %>
  <% if @composite.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@composite.errors.count, "error") %> prohibited this composite from being saved:</h2>

      <ul>
      <% @composite.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %>:
    <%= f.text_field :name, :readonly => true %>
  </div>

  <div class="field">
    <%= f.label :path %>:
    <%= f.text_field :path, :readonly => true , :size => 100 %>
  </div>

  <div class="field">
    <%= f.label :version %>:
      <%= text_field_tag :version ,@composite_soa.version, size: 10, readonly: true %>
  </div>
  <%= submit_tag("NewTag") if !Rails.env.production? %>


  <div class="field">
    <%= f.label :description %><br />
    <%= f.text_area :description, :cols => "100", :rows => "5"%>
  </div>


  <div class="actions">
    <%= f.submit %>
  </div>

  <% end %>
